import Vue from 'vue'
import App from './App.vue'
import elemt from './libs/element'
import echarts from './libs/echarts';
// 引入粒子效果
import vueParticles from './libs/vueParticles';

Vue.config.productionTip = false;

// 引入bus
Vue.prototype.$myBus = new Vue();

Vue.use(elemt);
Vue.use(echarts);
Vue.use(vueParticles);

import router from "@/router"
import store from "@/store"
new Vue({
    render: h => h(App),
    //配置全局事件总线
    beforeCreate(){
        Vue.prototype.$bus=this;

    },
    router,
    store
}).$mount('#app')